package com.gobo.jinghuimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gobo.common.utils.PageUtils;
import com.gobo.jinghuimall.product.entity.ProductAttrValueEntity;

import java.util.List;
import java.util.Map;

/**
 * spu属性值
 *
 * @author guanbo
 * @email gobostart@163.com
 * @date 2021-10-17 19:19:47
 */
public interface ProductAttrValueService extends IService<ProductAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<ProductAttrValueEntity> listforSpu(Long spuId);

    void updateAttrSpu(Long spuId, List<ProductAttrValueEntity> productAttrValueEntities);

    List<ProductAttrValueEntity> baseAttrListforspu(Long spuId);

    List<String> getSaleAttr(Long skuId);
}

